	var beforeFlag = false;
	window.onbeforeunload = function(){
		if(!beforeFlag){
	    	window.event.returnValue = "当前页面未保存的信息将会丢失！";
	    }
	}
	
	function changeLoadPage(){
		beforeFlag = true;
	}